package com.ts.enterprise.module.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.ts.enterprise.common.response.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author dean
 * @since 2021-12-08
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("fa_worker")
public class Worker {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Long createtime;

    private Long updatetime;

    private Integer userId;

    private String username;

    private String nickname;

    private String avatar;

    private Integer gender;

    private Integer age;

    private String mobile;

}
